package com.mall.common.constant;

    /**
     * 信息提示常量类
     */
    public class MessageConstant {

        public static final String NULL_POINTER_ERROR = "空指针异常";
        public static final String INVALID_PARAMETER = "非法参数";
        public static final String DATABASE_CONSTRAINT_ERROR = "数据库约束冲突";
        public static final String PASSWORD_ERROR = "密码错误";
        public static final String ACCOUNT_NOT_FOUND = "账号不存在";
        public static final String ACCOUNT_LOCKED = "账号被锁定";
        public static final String ALREADY_EXISTS = "已存在";
        public static final String UNKNOWN_ERROR = "未知错误";
        public static final String USER_NOT_LOGIN = "用户未登录";
        public static final String SHOPPING_CART_IS_NULL = "购物车数据为空，不能下单";
        public static final String ADDRESS_BOOK_IS_NULL = "用户地址为空，不能下单";
        public static final String LOGIN_FAILED = "登录失败";
        public static final String PASSWORD_EDIT_FAILED = "密码修改失败";
        public static final String ORDER_STATUS_ERROR = "订单状态错误";
        public static final String ORDER_NOT_FOUND = "订单不存在";
        public static final String USER_PERMISSION_ERROR = "当前用户权限不足";

        public static final String PRODUCT_STATUS_ERROR = "商品状态错误，不能删除";

        public static final String CATEGORY_ALREADY_EXISTS_ERROR = "该种类已经存在";

        public static final String CATEGORY_NOT_FOUND_ERROR = "该种类不存在";

    }

